package com.uep.dao;

import com.uep.entity.ActivityInformation;

import java.util.List;

public interface ActivityInformationMapper {
    int deleteByPrimaryKey(Integer activityNumber);

    int insert(ActivityInformation record);

    int insertSelective(ActivityInformation record);

    ActivityInformation selectByPrimaryKey(Integer activityNumber);

    int updateByPrimaryKeySelective(ActivityInformation record);

    int updateByPrimaryKeyWithBLOBs(ActivityInformation record);

    int updateByPrimaryKey(ActivityInformation record);

    List<ActivityInformation> selectNameTimeAddress();

    ActivityInformation selectEventDetails(String activityName);

    List<ActivityInformation> selectActivityType(String activityType);

    List<ActivityInformation> selectPersonActivityByUserAccount(String userAccount);

    List<ActivityInformation> selectSchoolActivityBySchoolName(String schoolName);

    ActivityInformation selectHotActivityByActivityStateAttendance(String activityType);

    ActivityInformation selectAttendance(String activityName);

    int updateAttendance(ActivityInformation record);
}